package org.example.linkedList;

/**
 * @Auther: wangbw
 * @Date:2020/11/20
 * @Description: org.example.linkedList
 * @version: 1.0
 */
public class Palindrome {
    public static void main(String[] args) {
        //奇数
        Node head1 = Node.createNode("1", "2", "3", "4", "3", "2", "1");
        System.out.println(isPalindrome(head1));
        //偶数
        Node head2 = Node.createNode("1", "2", "3", "3", "2", "1");
        System.out.println(isPalindrome(head2));
        //非回文
        Node head3 = Node.createNode("1", "2", "3", "3", "2", "12");
        System.out.println(isPalindrome(head3));
    }

    public static boolean isPalindrome(Node head) {
        return true;
    }
}
